﻿using System;
using System.Reactive.Linq;

namespace Callisto.Infrastructure
{
    public interface IDetailRepository
    {
        IObservable<object> GetDetail();
        IObservable<object> GetDetail(Guid id);
        void Save(object obj);
    }

    public interface IDetailRepository<T> : IDetailRepository
    {
        new IObservable<T> GetDetail();
        new IObservable<T> GetDetail(Guid id);
        void Save(T obj);
    }
}
